Load(Byte[],Int32,Nullable<Rectangle>) Method
In This Topic
Loads the image from a byte array. JPEG, PNG, WEBP, GIF, BMP, TIFF, ICO, JPEG 2000 formats are supported.
Syntax
'Declaration
Public Overloads Sub Load( _
ByVal () As System.Byte, _
Optional ByVal As System.Integer, _
Optional ByVal As System.Nullable(Of Rectangle) _
)
public void Load(
System.byte[] ,
System.int ,
System.Nullable<Rectangle>
)
Parameters
- bytes
- The image data.
- frameIndex
- Index of an image frame to read, pass 0 for image formats not supporting multiple frames.
- imageRect
- Clipping rectangle of the image to be loaded.
See Also